package com.hospital.hl7package.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.hl7package.module.mapper.DrugPrescMasterMapper;
import com.hospital.hl7package.module.entity.DrugPrescMaster;
import com.hospital.hl7package.module.service.DrugPrescMasterService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-03-31
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class DrugPrescMasterServiceImpl extends ServiceImpl<DrugPrescMasterMapper, DrugPrescMaster> implements DrugPrescMasterService {

    @Resource
    private DrugPrescMasterMapper drugPrescMasterMapper;


    @Override
    public DrugPrescMaster getDrugPrescmaster(String visitDate, String visitNo) {
        return drugPrescMasterMapper.getDrugPrescmaster(visitDate, visitNo);
    }


}
